import { BrowserRouter as Router, Route, Redirect, Switch } from 'react-router-dom';
import Index from './pages/Index';
import Login from './pages/Login';

function App() {
  return (
    <Router>
      <div className='App'>
        <Route path='/login' component={Login} />
        <Route path='/' component={Index} />
      </div>
    </Router>
  );
}

export default App;
